package com.ironman.imes.device.framework.base.threadpool;


import java.util.concurrent.ExecutorService;

/**
 * description 线程池
 * company 铁人科技
 *
 * @author 陈浩杰
 * @date 2023/7/13 10:07
 */
public class ThreadPool {

    public static final ExecutorService SOURCE_FIXED_EXECUTOR = new MonitoredThreadPoolExecutor("iot-device-source", Runtime.getRuntime().availableProcessors());

    public static final ExecutorService SINK_FIXED_EXECUTOR = new MonitoredThreadPoolExecutor("iot-device-sink", Runtime.getRuntime().availableProcessors());
}
